package com.asj.house.client;

import com.asj.house.config.feign.HouseVisitFeignConfig;
import com.asj.house.returns.RespEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author asj
 * @version V1.0.0
 * @description: 访问量统计 feign调用
 * @date 2021/02/25 09:29
 */
@FeignClient(name = "houseVisitFeignClient", url = "${manage.url}", configuration = HouseVisitFeignConfig.class)
public interface HouseVisitClient {

    /**
     * 访问量统计
     * @return
     */
    @GetMapping("/house-visit/pv")
    RespEntity pageView();

}
